//
//  YHYSHeadCollectionReusableView.m
//  LANGirl
//
//  Created by 杨泓晔 on 16/3/30.
//
//

#import "YHYSHeadCollectionReusableView.h"

@interface YHYSHeadCollectionReusableView ()

@property (nonatomic,retain)UIImageView *hotImageView;

@end

@implementation YHYSHeadCollectionReusableView
-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
      //  self.backgroundColor = LV;
        self.hotImageView = [UIImageView new];
        [self addSubview:self.hotImageView];
        [self.hotImageView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.mas_equalTo(21 * AUTO_WIDTH);
            make.width.mas_equalTo(25 * AUTO_WIDTH);
            make.height.mas_equalTo(15 * AUTO_WIDTH);
            make.left.mas_equalTo(15 * AUTO_WIDTH);
            
        }];
        self.hotImageView.image = [UIImage imageNamed:@"hot"];
        
        
        self.label = [UILabel new];
        [self addSubview:self.label];
        [self.label mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.mas_equalTo(21 * AUTO_WIDTH);
            make.width.mas_equalTo(60 * AUTO_WIDTH);
            make.height.mas_equalTo(15 * AUTO_WIDTH);
            make.left.mas_equalTo(self.hotImageView.mas_right).offset(8 * AUTO_WIDTH);
    
            
        }];
        self.label.textColor = ZI;
        self.label.alpha = 0.6;
        self.label.font = [UIFont fontWithName:@"Arial" size:TEXTCONTENTFONT * AUTO_WIDTH];
       // self.label.text = @"职业";
        
    }
    return self;
    
    
    
}



@end
